home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / stk-3.002 / stk-3 / STk-3.1 / Demos / %README next >
Encoding:
Text File  |  1996-07-23  |  7.3 KB  |  279 lines

  1. [Image] Demo directory
  2.  
  3. This directory contains demo programs for STk.
  4.  
  5. If you want to run a demo BEFORE a complete installation of the STk package,
  6. you must use the
  7.  
  8.     ../Src/test-stk
  9.  
  10. command to run the interpreter.
  11.  
  12. If you view this file with the STk HTML browser, you can click on each given
  13. command to launch a demo.
  14.  
  15. To use the STk HTML browser, just type:
  16.  
  17.     ../Src/test-stk -f hbrowse README.html
  18.  
  19. Happy STking
  20. ----------------------------------------------------------------------------
  21.  
  22.                                   STk demos
  23.  
  24. ----------------------------------------------------------------------------
  25.  
  26. File
  27.      browse.stk
  28. Description
  29.      a simple Unix file browser
  30. Run
  31.      ../Src/test-stk -f browse.stk
  32.  
  33. ----------------------------------------------------------------------------
  34.  
  35. File
  36.      colormap.stk
  37. Description
  38.      a simple color builder
  39. Run
  40.      ../Src/test-stk -f colormap.stk
  41. Comment
  42.      On exit, the RGB value is printed on the sandard output
  43.  
  44. ----------------------------------------------------------------------------
  45.  
  46. File
  47.      small-ed.stk
  48. Description
  49.      A small editor to create enhanced text
  50. Run
  51.      ../Src/test-stk -f small-ed.stk
  52. Comment
  53.      Does not work (still) with STk 3.0
  54.  
  55. ----------------------------------------------------------------------------
  56.  
  57. File
  58.      hanoi.stk
  59. Description
  60.      Hanoi towers animation
  61. Run
  62.      ../Src/test-stk -f hanoi.stk
  63.  
  64. ----------------------------------------------------------------------------
  65.  
  66. File
  67.      hello.stk
  68. Description
  69.      a simple button demonstration
  70. Run
  71.      ../Src/test-stk -f hello.stk
  72.  
  73. ----------------------------------------------------------------------------
  74.  
  75. File
  76.      showvars.stk
  77. Description
  78.      a variable shower
  79.      This program shows the value of three variables (named a,b and c)
  80.      Changing the value of one of these vars (with a set! for instance) will
  81.      redisplay its new value immediatly
  82. Run
  83.      ../Src/test-stk -load showvars.stk
  84. Comment
  85. Exit
  86.      type (exit) on the STk prompt
  87.  
  88. ----------------------------------------------------------------------------
  89.  
  90. File
  91.      turtle.stk
  92. Description
  93.      a Logo turtle package + some demo functions.
  94. Run
  95.      ../Src/test-stk -f turtle.stk
  96.  
  97. ----------------------------------------------------------------------------
  98.  
  99. File
  100.      inspector.stk
  101. Description
  102.      A simple demo of the inspector on Tk widgets
  103. Run
  104.      ../Src/test-stk -f inspector.stk
  105. Comment
  106.      Does not work (still) with STk 3.0
  107.  
  108. ----------------------------------------------------------------------------
  109.  
  110. File
  111.      mc-server.stk
  112. Description
  113.      A multiple-clients server.
  114. Run
  115.      ../Src/test-stk -load mc-server.stk
  116.  
  117. ----------------------------------------------------------------------------
  118.  
  119. File
  120.      queens.stk
  121. Description
  122.      The queens problem. You can do it yourself (and it will make sure you
  123.      follow the rules) or you can ask it to solve the puzzle starting with a
  124.      given board configuration. This code is a contribution of Grant Edwards
  125.      (grante@rosemount.com)
  126. Run
  127.      ../Src/test-stk -f queens.stk
  128.  
  129. ----------------------------------------------------------------------------
  130.  
  131. File
  132.      stetris.stk
  133. Description
  134.      This is a falling block game not unlike tetris(tm) :). It is
  135.      implemented in STk just to prove it can be done, and as a challenge to
  136.      TCLers. It starts slowly and becomes faster and faster. Have fun. This
  137.      code is a contribution of Harvey J. Stein(hjstein@math.huji.ac.il)
  138. Run
  139.      ../Src/test-stk -f stetris.stk
  140.  
  141. ----------------------------------------------------------------------------
  142.  
  143. File
  144.      ttt.stk
  145. Description
  146.      A 3D Tic-Tac-Toe, where the board is 4x4x4, a 3 dimensional board of
  147.      four planes with four rows and four columns each. This code is a
  148.      contribution of Edin "Dino" Hodzic <ehodzic@scu.edu>
  149. Run
  150.      ../Src/test-stk -f ttt.stk
  151.  
  152. ----------------------------------------------------------------------------
  153.  
  154. File
  155.      server.stk
  156. Description
  157.      A simple server showing how to use the socket package. It creates a
  158.      xterm window in which a read-eval-print-loop is executed. When the
  159.      window is closed or when an error occurs, the socket is closed
  160. Run
  161.      ../Src/test-stk -f server.stk
  162.  
  163. ----------------------------------------------------------------------------
  164.  
  165. File
  166.      term.stk
  167. Description
  168.      A simple terminal emulator (a kind of xterm, but in a text widget).
  169. Run
  170.      ../Src/test-stk -f term.stk
  171.  
  172. ----------------------------------------------------------------------------
  173.  
  174. File
  175.      wtour.stk
  176. Description
  177.      This is a rewrite of the Tcl/Tk wtour2.0 in Scheme/STk. Use the menus
  178.      to navigate through different lessons. You can make changes to the
  179.      lesson source code; click on the Apply button to see the results of the
  180.      changes.
  181. Run
  182.      ../Src/test-stk -f ./wtour.stk ../Contrib/STk-wtour
  183.  
  184. ----------------------------------------------------------------------------
  185.  
  186.                                 STklos demos
  187.  
  188. ----------------------------------------------------------------------------
  189. There are few demos of STklos. What is interesting is not what they do but
  190. how they are programmmed (IMO).
  191. ----------------------------------------------------------------------------
  192.  
  193. File
  194.      widget.stklos
  195. Description
  196.      A tour of the Tk widgets. This demo shows all the Tk widgets
  197. Run
  198.      ../Src/test-stk -f widget.stklos
  199.  
  200. ----------------------------------------------------------------------------
  201.  
  202. File
  203.      stklos-demo.stklos
  204. Description
  205.      a simple demo written in STklos
  206. Run
  207.      ../Src/test-stk -f stklos-demo.stklos
  208.  
  209. ----------------------------------------------------------------------------
  210.  
  211. File
  212.      stklos-demo2.stklos
  213. Description
  214.      another simple demo written in STklos
  215. Run
  216.      ../Src/test-stk -f stklos-demo2.stklos
  217.  
  218. ----------------------------------------------------------------------------
  219.  
  220. File
  221.      hello.stklos
  222. Description
  223.      a rewriting of the hello.stk demo in STklos
  224. Run
  225.      ../Src/test-stk -f hello.stklos
  226.  
  227. ----------------------------------------------------------------------------
  228.  
  229. File
  230.      browse.stklos
  231. Description
  232.      a rewriting of the browse.stk demo in STklos
  233. Run
  234.      ../Src/test-stk -f browse.stklos
  235.  
  236. ----------------------------------------------------------------------------
  237.  
  238. File
  239.      calc.stklos
  240. Description
  241.      a very simple calculator
  242. Run
  243.      ../Src/test-stk -f calc.stklos
  244.  
  245. ----------------------------------------------------------------------------
  246.  
  247. File
  248.      compo-demo.stklos
  249. Description
  250.      A quick demo of the composite widgets which are in the STk release.
  251.      This code is a contribution of <Drew.Whitehouse@anu.edu.au>
  252. Run
  253.      ../Src/test-stk -f compo-demo.stklos
  254.  
  255. ----------------------------------------------------------------------------
  256.  
  257. File
  258.      filebox.stklos
  259. Description
  260.      a simple program which uses the <File-box> compositeclass. A <File-box>
  261.      is a file requestor with file name completion. It is a composition of
  262.      various composite widget classes.
  263. Run
  264.      ../Src/test-stk -f filebox.stklos
  265.  
  266. ----------------------------------------------------------------------------
  267.  
  268. File
  269.      tkcolor.stklos
  270. Description
  271.      a simple color picker written in STklos. Clicking button 1 on the color
  272.      box sets the text color to that color; Clicking button 3 sets the
  273.      background.
  274. Run
  275.      ../Src/test-stk -f tkcolor.stklos
  276.  
  277. ----------------------------------------------------------------------------
  278. eg@unice.fr
  279.